<%--
  Created by IntelliJ IDEA.
  User: 冬酱
  Date: 2020/10/16
  Time: 14:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传</title>
</head>
<body>
<h1 style="color: crimson">
    <form action="/upload/file" method="post" enctype="multipart/form-data">
        <%--文件上传表单的name属性值一定要与controller处理器中方法的参数对应，否则无法实现文件上传--%>
        <input type="file" name="pic" />
        <input type="submit" value="提交" />
    </form>
</h1>
</body>
</html>
